<template>
  <div id="ContainerMain" style="margin:2px 0px">
    <el-card>
      <el-row :gutter="20">
        <el-col :span="6"><div class="itemCol">dad</div></el-col>
      </el-row>
    </el-card>
  </div>
</template>

<script>
import SildeShow from "../SlideShow";
export default {
  name: "ContainerMain",
  props:[""],
  data() {
    return {
      activeName: "first",

      banners: [
        { url: require("@/assets/imgs/banner1.jpg"), link: "#" },
        { url: require("@/assets/imgs/banner2.jpg"), link: "#" },
        { url: require("@/assets/imgs/banner3.jpg"), link: "#" }
      ],
      bannerSpeed: 4000,
      bannerWidth: 350,
      bannerHeight: 200
    };
  },
  methods: {},
  components: {
    SildeShow
  }
};
</script>

<style scoped>
#ContainerMain {
  display: -webkit-flex; /* 新版本语法: Chrome 21+ */
  display: -webkit-box; /* 老版本语法: Safari, iOS, Android browser, older WebKit browsers. */
  display: -moz-box; /* 老版本语法: Firefox (buggy) */
  display: -ms-flexbox; /* 混合版本语法: IE 10 */
  display: flex;
  flex-direction: column;
  align-items: center;
}
#ContainerMain>.el-card{
  width:100%;
}
.itemCol{
  background-color: rgba(0,0,0,0.5);
  border-radius: 6px;
  height: 40px;
  line-height: 40px;
  text-align: center;
}
</style>